<div id="tabSearchContent" style="overflow: hidden;">
    <div class="searchBar" style="margin-top: 5px; overflow: hidden; min-width: 300px;">
    <form id="defectGraphSearchFrom" class="required-validate">
        <ul class="defectGraphSearch" style="margin-left: 25px;">
            <li class="">
                <div>
                    <label><@label key="workCenter.C,colon">工作中心：</@label></label> 
                    <select    name="workCenterCode"> 
                        <option value=""><@label key="all.C">所有</@label></option>
                        <#list workCenters as workCenter>
                        <option value="${workCenter.workCenterCode}">${workCenter.workCenterText}</option>
                        </#list>
                    </select>
                </div>
            </li>
            <li class="">
                <div>
                    <label><@label key="productionControlNum.C,colon">生产管理号：</@label></label>
                    <input name="productionControlNum" type="text" class="textInput" />
                </div>
            </li>
            <li class="">
                <div>
                    <label><@label key="productionOrder.C,colon">生产订单号：</@label></label>
                    <input name="productionOrderNum" type="text" class="textInput" />
                </div>
            </li>
            <li class="">
                <div>
                    <label><@label key="materialCode.C,colon">物料编号：</@label></label> 
                    <input name="materialCode" type="text" class="textInput" />
                </div>
            </li>
            <li class="">
                <div>
                    <label><@label key="materialText.C,colon">物料描述：</@label></label> 
                    <input name="materialText" type="text" class="textInput" />
                </div>
            </li>
            <li class="">
                <div>
                    <label><@label key="operationDate.C,from.C,colon">投产日期从：</@label></label>
                    <input type="text" readonly="readonly" id="startDate" name="startDate" dateGroup='operationDate' class="date required from" /> 
                    <a class="inputDateButton" href="javascript:;"><@label key="select.C,colon">选择</@label></a>
                </div>
            </li>
            <li class="">
                <div>
                    <label><@label key="EndtTime.C,colon">到：</@label></label> 
                    <input type="text" readonly="readonly" id="endDate" name="endDate" dateGroup='operationDate' class="date required to" />
                    <a class="inputDateButton" href="javascript:;"><@label key="select.C,colon">选择</@label></a>
                </div>
            </li>
            <li class="query">
                <div id="selectProductionDetails" class="buttonActive">
                    <div class="buttonContent">
                        <button type="button"><@label key="query.B">查询</@label></button>
                    </div>
                </div>
            </li>
        </ul>
    </form>
    </div>
</div>
<div id="productionDetailsGrid"></div>
<script type="text/javascript">
$('#productionDetailsGrid', DWZ.context()).jGrid({
    url: hostUrl + "/defectGraph/selectProductionDetails",
    width: 520,
    height: 218,
    autoLoad: false,
    columns: [
        {field: 'productionControlNum', text: '<@label key="productionControlNum.C">生产管理号</@label>', width: 120},
        {field: 'productionOrderNum', text: '<@label key="orderFormNum.C">订单编号</@label>', width: 120},
        {field: 'materialText', text: '<@label key="productionText.C">产品描述</@label>', width: 100},
        {field: 'workCenterText', text: '<@label key="workCenter.C">工作中心</@label>', width: 100},
        {field: 'actualstartDateTime', type:'date', format: 'yyyy-MM-dd', text: '<@label key="operationDate.C">投产日期</@label>', width: 100}
    ],
    queryable: false,
    pageable: false,
    orderable: false
});
</script>